package javaMetaModel;

import java.util.ArrayList;
import java.util.List;
import javaMetaModel.visitor.IMetaModelVisitor;

public class Annotations {

	private final List<String> mAnnotations = new ArrayList<String>();

	public List<String> getAnnotations() {
		return mAnnotations;
	}

	public void addAnnotation(String aString) {
		this.mAnnotations.add(aString);
	}

	public void removeAnnotation(String aString) {
		this.mAnnotations.remove(aString);
	}

	public void accept(IMetaModelVisitor aVisitor) {
		aVisitor.visitAnnotations(this);
	}
}
